Skip to main content

/deposit and /withdraw

Request body:

FieldTypeRequiredFormat / constraints
documentIDinteger (int64)NoInternal document id
documentExtIDstringNoExternal document id
amountinteger (int64)YesMust be > 0
employeeNamestringNoCashier name

Success response:

FieldTypeRequiredNotes
documentIDinteger (int64)NoCash operation document id
fiscalIDstringNoFiscal id
fiscalNumstringNoFiscal number
fiscalUrlstringNoFiscal URL

Specific recovery behavior:

  • For retry/resume, server matches an existing cash document by operation type (deposit/withdraw) and cash amount.
  • documentExtID (or documentID) is used as retry key to locate/reuse the same document safely.
  • If neither documentExtID nor documentID is provided, deterministic recovery is not guaranteed.